package org.p2psimulator.config;

import org.p2psimulator.entity.overlaynetwork.OverlayType;

public class OverlayConfig extends AbstractConfig {


	private OverlayType type = null;


	public OverlayConfig(OverlayType type) {
		super();
		this.type = type;
	}

	@Override
	public boolean isComplete() {

		if (type == null){
			return false;
		}
		return true;
	}

	public OverlayType getType() {
		return type;
	}

	public void setType(OverlayType type) {
		this.type = type;
	}

}
